package com.yunhoo.sys.navigation;

import com.yunhoo.sys.util.tree.MyTreeNodeImpl;

/**
 *
 * @作者 伍良洪
 */
public class MenuTreeNodeImpl extends MyTreeNodeImpl {

    private String menu;
    private String url;
    private String type;
    private boolean isLeaf;

    public MenuTreeNodeImpl() {
    }

    public MenuTreeNodeImpl(boolean leaf, Object data) {
        super(leaf, data);
        this.isLeaf = leaf;
    }

    public String getMenu() {
        return menu;
    }

    public void setMenu(String menu) {
        this.menu = menu;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(boolean isLeaf) {
        this.isLeaf = isLeaf;
    }
}
